-- GENERATED SPELL FOR [Flint Shadowmore] --


function spell0_12425(pUnit, Event) --@Gouge,n/a--
pUnit:FullCastSpellOnTarget(12540,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12425', 4323, 1)
end

function spell1_12425(pUnit, Event) --@Slice and Dice,Self--
pUnit:FullCastSpellOnTarget(6434,pUnit)
pUnit:RegisterEvent('Sorts_12425', 10327, 1)
end

function Sorts_12425(pUnit, Event)
local choix_sorts_12425 = math.random(0, 1)
if choix_sorts_12425 == 0 then
pUnit:RegisterEvent('spell0_12425', 1, 1)
end
if choix_sorts_12425 == 1 then
pUnit:RegisterEvent('spell1_12425', 1, 1)
end
end

function mob12425_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12425', math.random(1500, 3000), 1)
end

function mob12425_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12425_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12425_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12425, 1, 'mob12425_Action')
RegisterUnitEvent(12425, 2, 'mob12425_Leave')
RegisterUnitEvent(12425, 3, 'mob12425_Kill')
RegisterUnitEvent(12425, 4, 'mob12425_Die')
